Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
entity parcel
Link copied to clipboard
struct parcel_dto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
entity tile
Link copied to clipboard
struct tile_dto
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
function _check_rented_tiles(griddable: instance, account_id: byte_array, tiles: set<integer>): boolean
Link copied to clipboard
function _friend_lend(owner_account_id: byte_array, plot_id: integer, request: friend_lend_request)
Link copied to clipboard
Link copied to clipboard
function _map_tiles(parcel: parcel): list<tile_dto>
Link copied to clipboard
Link copied to clipboard
function cell_coord_to_tile_index(cell: location, plot_width: integer): integer
Link copied to clipboard
Link copied to clipboard
@extend(check_ownership_hook) function check_rented_tiles(griddable: instance, account_id: byte_array, cells: set<location>): map<text, boolean>
Link copied to clipboard
function clean_up_old_free_trials(parcel_id: text, plot_id: integer, tiles: list<integer>)
Link copied to clipboard
function clear_tiles(plot_id: integer, rented_tiles: list<integer>)
Link copied to clipboard
function create_tiles(tile_permissions: list<integer>, tiles: list<integer>, parcel: parcel)
Link copied to clipboard
function delete_parcel(parcel: parcel)
Link copied to clipboard
function get_distinct_parcels(account_id: byte_array): integer
Link copied to clipboard
@extend(get_locations_hook) function get_tiles(plot: instance, account_id: byte_array, cells: set<location>, get_owned_cells: boolean): list<location>
Link copied to clipboard
function get_tiles_owner(get_owned_tiles: boolean, tiles: set<integer>, plot_id: integer): set<integer>
Link copied to clipboard
function get_tiles_renter(account_id: byte_array, get_owned_tiles: boolean, tiles: set<integer>, plot_id: integer): set<integer>
Link copied to clipboard
function is_a_renter(account_id: byte_array): boolean
Link copied to clipboard
function not_lent(tiles: list<integer>, plot_id: integer): boolean
Link copied to clipboard
function not_rented(tiles: list<integer>, plot_id: integer): boolean
Link copied to clipboard
function tile_indices_to_cell_coords(tile_indices: list<integer>, width: integer): set<location>

Queries

Link copied to clipboard
@mount("renting.get_all_renting_data_for_plot") query get_all_renting_data_for_plot(plot_id: integer): list<parcel_dto>
Link copied to clipboard
@mount("renting.get_renting_data_for_address") query get_renting_data_for_address(requested_evm_address: byte_array): user_rent_data_dto
Link copied to clipboard
@mount("renting.get_renting_data_for_player") query get_renting_data_for_player(account_id: byte_array): list<parcel_dto>

Operations

Link copied to clipboard
@mount("renting.free_trial") operation free_trial(request: free_trial_request)
Link copied to clipboard
@mount("renting.friend_lend") operation friend_lend(account_id: byte_array, auth_descriptor_id: byte_array, plot_id: integer, requests: list<friend_lend_request>)
Link copied to clipboard
@mount("renting.terminate_all_friend_contracts") operation terminate_all_friend_contracts(account_id: byte_array, auth_descriptor_id: byte_array, plot_id: integer)
Link copied to clipboard
@mount("renting.terminate_friend_contract") operation terminate_friend_contract(account_id: byte_array, auth_descriptor_id: byte_array, parcel_id: text)